﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace ServerManager.Models
{
    public class App
    {
        public int Id { get; set; }

        [Display(Name = "应用名")]
        public string Name { get; set; }

        [Display(Name = "访问地址")]
        public string Url { get; set; }

        [Display(Name = "责任人")]
        public string Manager { get; set; }

        [Display(Name = "开发商")]
        public string Developer { get; set; }

        [Display(Name = "开发商电话")]
        public string DeveloperContact { get; set; }

        [Display(Name = "备注")]
        public string Remark { get; set; }

        [Display(Name = "服务器")]
        public int ServerId { get; set; }

        [Display(Name = "创建时间")]
        public DateTime CreateTime { get; set; }

        [Display(Name = "服务器")]
        public virtual Server Server { get; set; }
    }
}
